package com.wsj.a.collapsingdemo;

import android.databinding.DataBindingUtil;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import com.baidu.mobstat.StatService;
import com.wsj.a.collapsingdemo.databinding.FragementVideoBinding;

/**
 * Created by linxiujie on 2018/8/3.
 */

public class VideoFragement extends Fragment {

    private FragementVideoBinding mBinding;

    @Nullable
    @Override
    public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
        mBinding = DataBindingUtil.inflate(inflater,R.layout.fragement_video,null,false);
        StatService.onPageStart(getContext(), "个人中心作品库");
        return mBinding.getRoot();
    }

    @Override
    public void onPause() {
        super.onPause();
        StatService.onPageEnd(getContext(), "个人中心作品库");
    }
}
